package io.seata.order.client;

import io.seata.common.dto.StorageDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;

/**
 * @author ZengRJ
 */
@FeignClient("storage-service")
public interface StorageClient {
    @PutMapping("/storage/deduct")
    void deduct(StorageDTO storageDTO);
}
